package computer;

public class Pc {
    Cpu cpu;
    HardDisk hardDisk;

    public void setCpu(Cpu cpu) {
        this.cpu = cpu;
    }

    public void setHardDisc(HardDisk hardDisk) {
        this.hardDisk = hardDisk;
    }

    public void show(){
        System.out.println("CPU 速度目前是："+this.cpu.getSpeed());
    }


}
